CTextDlg Class Reference

#include <TextDlg.h>

List of all members.

Public Types

enum  { IDD = IDD_DIALOG1 }

Public Member Functions

 CTextDlg (CWnd *pParent=NULL)
virtual ~CTextDlg ()
CString getTextString ()
afx_msg void OnBnClickedOk ()
afx_msg void OnBnClickedCancel ()
afx_msg void OnEnChangeEdit1 ()

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)

Protected Attributes

CEdit textedit
CString textstring


Detailed Description

TextDlg Class. The Diaog Box for the insertion of Text.

Definition at line 7 of file TextDlg.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration for the Text Dialog Box of the resources of GUI.

Enumerator:
IDD 

Definition at line 32 of file TextDlg.h.


Constructor & Destructor Documentation

CTextDlg::CTextDlg (  CWnd *  pParent = NULL  ) 
 

Constructor for the CTextDlg.

Parameters:
pParent parent window

Definition at line 13 of file TextDlg.cpp.

CTextDlg::~CTextDlg (   )  [virtual]
 

Destructor of the CTextDlg.

Definition at line 18 of file TextDlg.cpp.


Member Function Documentation

void CTextDlg::DoDataExchange (  CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 22 of file TextDlg.cpp.

References textedit.

CString CTextDlg::getTextString (   ) 
 

Getter for the text in the dialog box.

Returns:
CString text

Definition at line 53 of file TextDlg.cpp.

References textstring.

Referenced by RightView::OnFreeplacerightmenuInserttext().

void CTextDlg::OnBnClickedCancel (   ) 
 

Cancel the text insertion operation

Definition at line 43 of file TextDlg.cpp.

void CTextDlg::OnBnClickedOk (   ) 
 

Accept the inserted text input.

Definition at line 38 of file TextDlg.cpp.

void CTextDlg::OnEnChangeEdit1 (   ) 
 

Allows the edition of text.

Definition at line 48 of file TextDlg.cpp.

References textedit, and textstring.


Member Data Documentation

CEdit CTextDlg::textedit [protected]
 

Definition at line 35 of file TextDlg.h.

Referenced by DoDataExchange(), and OnEnChangeEdit1().

CString CTextDlg::textstring [protected]
 

Definition at line 36 of file TextDlg.h.

Referenced by getTextString(), and OnEnChangeEdit1().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:12 2006 for TraffEdu by  doxygen 1.4.6-NO